package com.kx.game.center.api.instances;

import com.kx.game.center.api.IConfig;
import com.kx.game.center.api.IRecord;

/**
 * 默认配置
 * 
 * @author wenji.fan
 * @since 2013-8-15
 * 
 */
public class DefaultConfig implements IConfig {
	public static final int TIME_OUT = 10;

	private IRecord record = new com.kx.game.center.api.instances.DefaultRecord();

	private int timeout = TIME_OUT;

	private String domain;

	private int gameID;

	private int serverID;

	@Override
	public int getTimeOut() {
		return timeout;
	}

	@Override
	public IRecord getRecord() {
		return record;
	}

	public void setRecord(IRecord record) {
		this.record = record;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public int getGameID() {
		return gameID;
	}

	public void setGameID(int gameID) {
		this.gameID = gameID;
	}

	public int getServerID() {
		return serverID;
	}

	public void setServerID(int serverID) {
		this.serverID = serverID;
	}

	@Override
	public void setTimeOut(int timtout) {
		this.timeout = timtout;
	}

}
